package com.ruicar.afs.cloud.product.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruicar.afs.cloud.product.condition.ProductTemplateCondition;
import com.ruicar.afs.cloud.product.entity.ProductTemplate;
import com.ruicar.afs.cloud.product.mapper.ProductTemplateMapper;
import com.ruicar.afs.cloud.product.service.ProductTemplateService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author changyu.gui
 * @version 1.0
 * @describe 产品模块信息
 * @date 2020/4/27 17:26
 */
@Service
public class ProductTemplateServiceImpl extends ServiceImpl<ProductTemplateMapper, ProductTemplate> implements ProductTemplateService {

    public IPage<List<ProductTemplate>> getListProductTemplate(Page page, ProductTemplateCondition productTemplateCondition) {
        return this.baseMapper.getListProductTemplate(page, productTemplateCondition);
    }

}
